package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * APP管理对象 biz_app_version
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-08-16
 */
@Data
public class AppVersion extends BaseEntity<AppVersion> {
    private static final long serialVersionUID = 1L;


    /**
     * 公司ID
     */
    private String companyId;

    /**
     * APP ID
     */
    @Excel(name = "APP ID")
    private String appId;

    /**
     * APP名称
     */
    @Excel(name = "APP名称")
    private String appName;

    /**
     * 更新描述
     */
    @Excel(name = "更新描述")
    private String describes;

    /**
     * APP地址
     */
    @Excel(name = "APP地址")
    private String editionUrl;

    /**
     * 是否强制更新 0代表否 1代表是
     */
    @Excel(name = "是否强制更新 0代表否 1代表是")
    private String editionForce;

    /**
     * 0是整包升级
     */
    @Excel(name = "0是整包升级")
    private String packageType;

    /**
     * 是否发行  0否 1是
     */
    @Excel(name = "是否发行  0否 1是")
    private String editionIssue;

    /**
     * 版本号 最重要的
     */
    @Excel(name = "版本号 最重要的")
    private String editionNumber;

    /**
     * 版本名称 manifest里的版本名称
     */
    @Excel(name = "版本名称 manifest里的版本名称")
    private String editionName;

    /**
     * 是否静默更新 0代表否 1代表是
     */
    @Excel(name = "是否静默更新 0代表否 1代表是")
    private String editionSilence;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 状态（0正常 1 停用）
     */
    @Excel(name = "状态")
    private String status;


    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppName() {
        return appName;
    }

    public void setdescribes(String describes) {
        this.describes = describes;
    }

    public String getdescribes() {
        return describes;
    }

    public void setEditionUrl(String editionUrl) {
        this.editionUrl = editionUrl;
    }

    public String getEditionUrl() {
        return editionUrl;
    }

    public void setEditionForce(String editionForce) {
        this.editionForce = editionForce;
    }

    public String getEditionForce() {
        return editionForce;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setEditionIssue(String editionIssue) {
        this.editionIssue = editionIssue;
    }

    public String getEditionIssue() {
        return editionIssue;
    }

    public void setEditionNumber(String editionNumber) {
        this.editionNumber = editionNumber;
    }

    public String getEditionNumber() {
        return editionNumber;
    }

    public void setEditionName(String editionName) {
        this.editionName = editionName;
    }

    public String getEditionName() {
        return editionName;
    }

    public void setEditionSilence(String editionSilence) {
        this.editionSilence = editionSilence;
    }

    public String getEditionSilence() {
        return editionSilence;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append("companyId"
                , getCompanyId()).append("appId", getAppId()).append("appName", getAppName()).append("describes",
                getdescribes()).append("editionUrl", getEditionUrl()).append("editionForce", getEditionForce()).append("packageType", getPackageType()).append("editionIssue", getEditionIssue()).append("editionNumber", getEditionNumber()).append("editionName", getEditionName()).append("editionSilence", getEditionSilence()).append("sort", getSort()).append("status", getStatus()).append("remark", getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept", getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version", getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
